package com.xjscrm.console.mapper;

import com.xjscrm.console.entity.CircleTaskGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author mingyang.chen create in 2024/4/9 上午10:42
 */
@Mapper
public interface CircleTaskGroupMapper extends CommonMapper<CircleTaskGroup> {

    int deleteByPrimaryKey(Long id);

    int insertSelective(CircleTaskGroup record);

    CircleTaskGroup selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CircleTaskGroup record);

    List<CircleTaskGroup> selectListByStaffId(@Param("merId") Long merId, @Param("staffId") Long staffId, @Param("name") String name);

    Integer selectMaxSort(Long merId);
}